﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using HighDivePrinter.Model;

namespace HighDivePrinter.View
{
    public delegate void DelegateAddContest();
    public delegate void DelegateRemoveContest(int index);
    public delegate void DelegateSaveContest();
    public delegate void DelegateReadContest();
    public interface IFormContest
    {
        //Contest Class

        void SetContestList(BindingList<Contest> contest);

        event DelegateAddContest EventAddContest;
        event DelegateRemoveContest EventRemoveContest;
        event DelegateSaveContest EventSaveContest;
        event DelegateReadContest EventReadContest;

    }
}
